package com.ruoyi.business.app.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;


@Data
@ApiModel("banner图")
public class HomeBannerVo {
    /** id */
    @ApiModelProperty("id")
    private Long id;
    /** 图片路径 */
    @ApiModelProperty("图片路径")
    private String picUrl;
    /** 标题 */
    @ApiModelProperty("标题")
    private String name;
    /** 内容 */
    @ApiModelProperty(value = "内容")
    private String introduce;
    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "时间")
    private Date createTime;
}
